package com.test.model.builder;

public class MacBookBuilder implements BuilderComputer {
    private Computer macBook ;
    public MacBookBuilder() {
        macBook = new MacBook();
    }

    @Override
    public Computer buid() {
        return macBook;
    }

    @Override
    public BuilderComputer setBrand(String brand) {
        macBook.setBrand(brand);
        return this;
    }

    @Override
    public BuilderComputer setProcessor(String processor) {
        macBook.setProcessor(processor);
        return this;
    }

    @Override
    public BuilderComputer setRam(String ram) {
        macBook.setRam(ram);
        return this;
    }
}
